package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;

public interface IFDBClothing
{
	//get all clothing
	public ArrayList<Clothing> getAllClothing(boolean retriveAssociation);

	//get clothing by id
    public Clothing findClothingByID(int id, boolean retriveAssociation);
    
    //get clothing by size
    public ArrayList<Clothing> searchBySize(String size, boolean retrieveAssociation);
    
    //get clothing by colour
    public ArrayList<Clothing> searchByColour(String colour, boolean retrieveAssociation);

    //insert clothing into database
    public int insertClothing(Clothing clo);

    //update clothing
    public int updateClothing(Clothing clo);

    //delete clothing
    public int deleteClothing(int id);
}